/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mnstudent.presentationlayer;

//import mnstudent.global.SConnection;
import mnstudent.presentationlayer.report.*;
import com.seaglasslookandfeel.SeaGlassLookAndFeel;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Date;
import java.text.SimpleDateFormat;
import java.util.Enumeration;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;
import javax.swing.tree.*;
import mnstudent.datatranferobject.LoginDTO;
import mnstudent.presentationlayer.search.*;
import org.jdesktop.swingx.JXButton;

/**
 *
 * @author lee
 */
public class frmMainMenu extends javax.swing.JFrame {

    /**
     * Creates new form frmHome
     */
    private JScrollPane m_scroll;

    public frmMainMenu() {
        initComponents();
        Clock();
        //this.setPreferredSize(new Dimension(900, 600));
        this.setExtendedState(JFrame.MAXIMIZED_BOTH);
        //createTreeView();
        //expandAll(jxtreenavibar, new TreePath(jxtreenavibar.getModel().getRoot()), true);

        lblStatus.setText("Welcome! " + LoginDTO.getName()
                + " - Đăng nhập lúc: " + LoginDTO.getLastLogin());
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jclsTabView = new mnstudent.global.ClosableTabbedPane();
        jpanstatusbar = new javax.swing.JPanel();
        lblStatus = new javax.swing.JLabel();
        jmnBar = new javax.swing.JMenuBar(){
            @Override
            public void paintComponent(Graphics g){
                g.drawImage((new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/TitleClock.png"))).getImage(),0,0,this);
                g.setFont(new Font("Courier New", Font.BOLD, 16));
                g.drawString(showTime, 1199, 85);
            }
        };
        jmnSystemManger = new javax.swing.JMenu();
        jmnDatabase = new javax.swing.JMenu();
        jmniConectionDatabase = new javax.swing.JMenuItem();
        jspeLine = new javax.swing.JPopupMenu.Separator();
        jmniBackupDatabase = new javax.swing.JMenuItem();
        jmniRestoreDatabase = new javax.swing.JMenuItem();
        jmnAccess = new javax.swing.JMenu();
        jmniLogin = new javax.swing.JMenuItem();
        jmniLogout = new javax.swing.JMenuItem();
        jmniRegulation = new javax.swing.JMenuItem();
        jmnStudentManager = new javax.swing.JMenu();
        jmniStudent = new javax.swing.JMenuItem();
        jmniPriorityObject = new javax.swing.JMenuItem();
        jmniFaculty = new javax.swing.JMenuItem();
        jmniMajor = new javax.swing.JMenuItem();
        jmniStatus = new javax.swing.JMenuItem();
        jmnStudyManager = new javax.swing.JMenu();
        jmniSubject = new javax.swing.JMenuItem();
        jmniKindOfSubject = new javax.swing.JMenuItem();
        jxmniAcademicYear = new javax.swing.JMenuItem();
        jmniSemester = new javax.swing.JMenuItem();
        jmniInfoSemesterYear = new javax.swing.JMenuItem();
        jmniOrderSemester = new javax.swing.JMenuItem();
        jmnStaffManager = new javax.swing.JMenu();
        jmniStaff = new javax.swing.JMenuItem();
        jmniPositionAndMastership = new javax.swing.JMenuItem();
        jmniInfoStaff = new javax.swing.JMenuItem();
        jmnCreateVotes = new javax.swing.JMenu();
        jmniCourseRegistration = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jmnReport = new javax.swing.JMenu();
        jMenu1 = new javax.swing.JMenu();
        jmniCurrentCourseRegistration = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem5 = new javax.swing.JMenuItem();
        jmnSearch = new javax.swing.JMenu();
        jmniStudentInfo = new javax.swing.JMenuItem();
        jmnOption = new javax.swing.JMenu();
        jmnBackground = new javax.swing.JMenu();
        jmniNumbusLK = new javax.swing.JMenuItem();
        jmniSeaglassLK = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Quản lý đăng ký học phần và học phí");
        setExtendedState(JFrame.MAXIMIZED_BOTH);

        jclsTabView.setBackground(new java.awt.Color(89, 51, 102));
        org.jdesktop.swingx.border.DropShadowBorder dropShadowBorder1 = new org.jdesktop.swingx.border.DropShadowBorder();
        dropShadowBorder1.setShowLeftShadow(true);
        dropShadowBorder1.setShowTopShadow(true);
        jclsTabView.setBorder(dropShadowBorder1);
        getContentPane().add(jclsTabView, java.awt.BorderLayout.CENTER);

        org.jdesktop.swingx.border.DropShadowBorder dropShadowBorder2 = new org.jdesktop.swingx.border.DropShadowBorder();
        dropShadowBorder2.setShowLeftShadow(true);
        dropShadowBorder2.setShowTopShadow(true);
        jpanstatusbar.setBorder(dropShadowBorder2);

        javax.swing.GroupLayout jpanstatusbarLayout = new javax.swing.GroupLayout(jpanstatusbar);
        jpanstatusbar.setLayout(jpanstatusbarLayout);
        jpanstatusbarLayout.setHorizontalGroup(
            jpanstatusbarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpanstatusbarLayout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addComponent(lblStatus, javax.swing.GroupLayout.PREFERRED_SIZE, 700, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(304, Short.MAX_VALUE))
        );
        jpanstatusbarLayout.setVerticalGroup(
            jpanstatusbarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(lblStatus, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE)
        );

        getContentPane().add(jpanstatusbar, java.awt.BorderLayout.SOUTH);

        jmnBar.setBackground(new java.awt.Color(40, 170, 190));
        org.jdesktop.swingx.border.DropShadowBorder dropShadowBorder3 = new org.jdesktop.swingx.border.DropShadowBorder();
        dropShadowBorder3.setShowLeftShadow(true);
        dropShadowBorder3.setShowTopShadow(true);
        jmnBar.setBorder(dropShadowBorder3);
        jmnBar.setPreferredSize(new java.awt.Dimension(59, 100));

        jmnSystemManger.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/System.png"))); // NOI18N
        jmnSystemManger.setText("Hệ thống");
        jmnSystemManger.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnSystemManger.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnSystemManger.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmnDatabase.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/Database.png"))); // NOI18N
        jmnDatabase.setText("Cơ sở dữ liệu");

        jmniConectionDatabase.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/connectiondatabase.png"))); // NOI18N
        jmniConectionDatabase.setText("Kết nối CSDL");
        jmniConectionDatabase.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniConectionDatabaseActionPerformed(evt);
            }
        });
        jmnDatabase.add(jmniConectionDatabase);
        jmnDatabase.add(jspeLine);

        jmniBackupDatabase.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/saoluudulieu.png"))); // NOI18N
        jmniBackupDatabase.setText("Sao lưu CSDL");
        jmniBackupDatabase.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniBackupDatabaseActionPerformed(evt);
            }
        });
        jmnDatabase.add(jmniBackupDatabase);

        jmniRestoreDatabase.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/phuchoidulieu.png"))); // NOI18N
        jmniRestoreDatabase.setText("Phục hồi CSDL");
        jmniRestoreDatabase.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniRestoreDatabaseActionPerformed(evt);
            }
        });
        jmnDatabase.add(jmniRestoreDatabase);

        jmnSystemManger.add(jmnDatabase);

        jmnAccess.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/Access_.png"))); // NOI18N
        jmnAccess.setText("Truy cập");

        jmniLogin.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/dangnhap.png"))); // NOI18N
        jmniLogin.setText("Đăng nhập");
        jmniLogin.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniLoginActionPerformed(evt);
            }
        });
        jmnAccess.add(jmniLogin);

        jmniLogout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/dangxuat.png"))); // NOI18N
        jmniLogout.setText("Đăng xuất");
        jmniLogout.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniLogoutActionPerformed(evt);
            }
        });
        jmnAccess.add(jmniLogout);

        jmnSystemManger.add(jmnAccess);

        jmniRegulation.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/Regulation_48x48.png"))); // NOI18N
        jmniRegulation.setText("Quy định");
        jmniRegulation.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniRegulationActionPerformed(evt);
            }
        });
        jmnSystemManger.add(jmniRegulation);

        jmnBar.add(jmnSystemManger);

        jmnStudentManager.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/manager.png"))); // NOI18N
        jmnStudentManager.setText("Quản lý sinh viên");
        jmnStudentManager.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnStudentManager.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnStudentManager.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmniStudent.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/pupils.png"))); // NOI18N
        jmniStudent.setText("Sinh viên");
        jmniStudent.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniStudentActionPerformed(evt);
            }
        });
        jmnStudentManager.add(jmniStudent);

        jmniPriorityObject.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/objects_32x32.png"))); // NOI18N
        jmniPriorityObject.setText("Đối tượng");
        jmniPriorityObject.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniPriorityObjectActionPerformed(evt);
            }
        });
        jmnStudentManager.add(jmniPriorityObject);

        jmniFaculty.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/Faculty.png"))); // NOI18N
        jmniFaculty.setText("Khoa");
        jmniFaculty.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniFacultyActionPerformed(evt);
            }
        });
        jmnStudentManager.add(jmniFaculty);

        jmniMajor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/Sector.png"))); // NOI18N
        jmniMajor.setText("Ngành");
        jmniMajor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniMajorActionPerformed(evt);
            }
        });
        jmnStudentManager.add(jmniMajor);

        jmniStatus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/status_32x32.png"))); // NOI18N
        jmniStatus.setText("Trạng thái sinh viên");
        jmniStatus.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniStatusActionPerformed(evt);
            }
        });
        jmnStudentManager.add(jmniStatus);

        jmnBar.add(jmnStudentManager);

        jmnStudyManager.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/study_manager_48x48.png"))); // NOI18N
        jmnStudyManager.setText("Quản lý học vụ");
        jmnStudyManager.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnStudyManager.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnStudyManager.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmniSubject.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/monhoc.png"))); // NOI18N
        jmniSubject.setText("Môn học");
        jmniSubject.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniSubjectActionPerformed(evt);
            }
        });
        jmnStudyManager.add(jmniSubject);

        jmniKindOfSubject.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/Courses_32x32.png"))); // NOI18N
        jmniKindOfSubject.setText("Loại môn học");
        jmniKindOfSubject.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniKindOfSubjectActionPerformed(evt);
            }
        });
        jmnStudyManager.add(jmniKindOfSubject);

        jxmniAcademicYear.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/calendar_year_32x32.png"))); // NOI18N
        jxmniAcademicYear.setText("Năm học");
        jxmniAcademicYear.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jxmniAcademicYearActionPerformed(evt);
            }
        });
        jmnStudyManager.add(jxmniAcademicYear);

        jmniSemester.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/hocky.png"))); // NOI18N
        jmniSemester.setText("Học kỳ");
        jmniSemester.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniSemesterActionPerformed(evt);
            }
        });
        jmnStudyManager.add(jmniSemester);

        jmniInfoSemesterYear.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/InfoSemesterYear_32x32.png"))); // NOI18N
        jmniInfoSemesterYear.setText("Thông tin học kỳ - năm học");
        jmniInfoSemesterYear.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniInfoSemesterYearActionPerformed(evt);
            }
        });
        jmnStudyManager.add(jmniInfoSemesterYear);

        jmniOrderSemester.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/CountSemester_32x32.png"))); // NOI18N
        jmniOrderSemester.setText("Học kỳ thuộc chương trình đào tạo");
        jmniOrderSemester.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniOrderSemesterActionPerformed(evt);
            }
        });
        jmnStudyManager.add(jmniOrderSemester);

        jmnBar.add(jmnStudyManager);

        jmnStaffManager.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/staff_48x48.png"))); // NOI18N
        jmnStaffManager.setText("Quản lý nhân viên");
        jmnStaffManager.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnStaffManager.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jmnStaffManager.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnStaffManager.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmniStaff.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/dsgiaovien.png"))); // NOI18N
        jmniStaff.setText("Nhân viên");
        jmniStaff.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniStaffActionPerformed(evt);
            }
        });
        jmnStaffManager.add(jmniStaff);

        jmniPositionAndMastership.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturesmall/Position_24x24.png"))); // NOI18N
        jmniPositionAndMastership.setText("Chức vụ & phân quyền");
        jmniPositionAndMastership.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniPositionAndMastershipActionPerformed(evt);
            }
        });
        jmnStaffManager.add(jmniPositionAndMastership);

        jmniInfoStaff.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/personal_information_32x32.png"))); // NOI18N
        jmniInfoStaff.setText("Thông tin");
        jmniInfoStaff.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniInfoStaffActionPerformed(evt);
            }
        });
        jmnStaffManager.add(jmniInfoStaff);

        jmnBar.add(jmnStaffManager);

        jmnCreateVotes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/doc.png"))); // NOI18N
        jmnCreateVotes.setText("Lập phiếu");
        jmnCreateVotes.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnCreateVotes.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnCreateVotes.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmniCourseRegistration.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/dkmonhoc.png"))); // NOI18N
        jmniCourseRegistration.setText("Đăng ký học phần");
        jmniCourseRegistration.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniCourseRegistrationActionPerformed(evt);
            }
        });
        jmnCreateVotes.add(jmniCourseRegistration);

        jMenuItem2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/thuhocphi.png"))); // NOI18N
        jMenuItem2.setText("Thu học phí");
        jmnCreateVotes.add(jMenuItem2);

        jmnBar.add(jmnCreateVotes);

        jmnReport.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/report.png"))); // NOI18N
        jmnReport.setText("Báo cáo & thống kế");
        jmnReport.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnReport.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnReport.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jMenu1.setText("Báo cáo");

        jmniCurrentCourseRegistration.setText("Tình trạng đăng ký học phần");
        jmniCurrentCourseRegistration.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniCurrentCourseRegistrationActionPerformed(evt);
            }
        });
        jMenu1.add(jmniCurrentCourseRegistration);

        jMenuItem3.setText("Tình trạng đăng ký môn học");
        jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem3ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem3);

        jMenuItem4.setText("Tình trạng đóng học phí");
        jMenuItem4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem4ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem4);

        jmnReport.add(jMenu1);

        jMenu2.setText("Thống kê");

        jMenuItem5.setText("Doanh thu cuối ngày");
        jMenu2.add(jMenuItem5);

        jmnReport.add(jMenu2);

        jmnBar.add(jmnReport);

        jmnSearch.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/find.png"))); // NOI18N
        jmnSearch.setText("Tiềm kiếm");
        jmnSearch.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N
        jmnSearch.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnSearch.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmniStudentInfo.setText("Thông tin sinh viên");
        jmniStudentInfo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniStudentInfoActionPerformed(evt);
            }
        });
        jmnSearch.add(jmniStudentInfo);

        jmnBar.add(jmnSearch);

        jmnOption.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/settings.png"))); // NOI18N
        jmnOption.setText("Tùy chọn");
        jmnOption.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jmnOption.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

        jmnBackground.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturelarge/background.png"))); // NOI18N
        jmnBackground.setText("Giao diện");

        jmniNumbusLK.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/nimbus.png"))); // NOI18N
        jmniNumbusLK.setText("Nimbus L&K");
        jmniNumbusLK.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniNumbusLKActionPerformed(evt);
            }
        });
        jmnBackground.add(jmniNumbusLK);

        jmniSeaglassLK.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mnstudent/data/picturemenium/seaglass.png"))); // NOI18N
        jmniSeaglassLK.setText("Seaglass L&K");
        jmniSeaglassLK.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniSeaglassLKActionPerformed(evt);
            }
        });
        jmnBackground.add(jmniSeaglassLK);

        jmnOption.add(jmnBackground);

        jmnBar.add(jmnOption);

        setJMenuBar(jmnBar);

        pack();
    }// </editor-fold>//GEN-END:initComponents


    private void jmniLoginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniLoginActionPerformed
        frmFaculty frm = new frmFaculty();
        jclsTabView.add(frm);
    }//GEN-LAST:event_jmniLoginActionPerformed

    private void jmniConectionDatabaseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniConectionDatabaseActionPerformed
        fpnlConnection _fpnlConnection = new fpnlConnection();
        _fpnlConnection.showDialog(frmMainMenu.this, "Kết nối CSDL");
    }//GEN-LAST:event_jmniConectionDatabaseActionPerformed

    private void jmniLogoutActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniLogoutActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jmniLogoutActionPerformed

    private void jmniRestoreDatabaseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniRestoreDatabaseActionPerformed
        fpnRestore _fpnRestore = new fpnRestore();
        _fpnRestore.showDialog(frmMainMenu.this, "Khôi Phục CSDL");
    }//GEN-LAST:event_jmniRestoreDatabaseActionPerformed

    private frmStudent _frmStudent;
    private void jmniStudentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniStudentActionPerformed
        int index = jclsTabView.indexOfComponent(_frmStudent);
        if (index < 0) {
            _frmStudent = new frmStudent();
            _frmStudent.show();
            jclsTabView.addTab("Quản lý sinh viên", _frmStudent);
            jclsTabView.setSelectedComponent(_frmStudent);
        } else {
            //jclsTabView.setSelectedIndex(index);
            jclsTabView.setSelectedComponent(_frmStudent);
        }
    }//GEN-LAST:event_jmniStudentActionPerformed

    private void jmniNumbusLKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniNumbusLKActionPerformed
        try {
            javax.swing.UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        SwingUtilities.updateComponentTreeUI(this);
        this.pack();
        this.setExtendedState(JFrame.MAXIMIZED_BOTH);

    }//GEN-LAST:event_jmniNumbusLKActionPerformed

    private void jmniSeaglassLKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniSeaglassLKActionPerformed
        SeaGlassLookAndFeel _seaglassLk = new SeaGlassLookAndFeel();
        try {
            UIManager.setLookAndFeel(_seaglassLk);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(frmMainMenu.class.getName()).log(Level.SEVERE, null, ex);
        }
        SwingUtilities.updateComponentTreeUI(this);
        this.pack();
        this.setExtendedState(JFrame.MAXIMIZED_BOTH);
    }//GEN-LAST:event_jmniSeaglassLKActionPerformed

    private frmFaculty m_frmFaculty;
    private void jmniFacultyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniFacultyActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmFaculty);
        if (index < 0) {
            m_frmFaculty = new frmFaculty();
            jclsTabView.addTab("Quản lý khoa", m_frmFaculty);
            jclsTabView.setSelectedComponent(m_frmFaculty);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniFacultyActionPerformed

    private frmMajor m_frmMajor;
    private void jmniMajorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniMajorActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmMajor);
        if (index < 0) {
            m_frmMajor = new frmMajor();
            jclsTabView.addTab("Quản lý ngành", m_frmMajor);
            jclsTabView.setSelectedComponent(m_frmMajor);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniMajorActionPerformed

    private frmPriorityObject m_frmPriortyObject;
    private void jmniPriorityObjectActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniPriorityObjectActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmPriortyObject);
        if (index < 0) {
            m_frmPriortyObject = new frmPriorityObject();
            jclsTabView.addTab("Quản lý đối tượng", m_frmPriortyObject);
            jclsTabView.setSelectedComponent(m_frmPriortyObject);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniPriorityObjectActionPerformed

    private frmSubject m_frmSubject;
    private void jmniSubjectActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniSubjectActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmSubject);
        if (index < 0) {
            m_frmSubject = new frmSubject();
            jclsTabView.addTab("Quản lý môn học", m_frmSubject);
            jclsTabView.setSelectedComponent(m_frmSubject);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniSubjectActionPerformed
    private frmKindOfSubject m_frmKindOfSubject;
    private void jmniKindOfSubjectActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniKindOfSubjectActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmKindOfSubject);
        if (index < 0) {
            m_frmKindOfSubject = new frmKindOfSubject();
            jclsTabView.addTab("Quản lý loại môn học", m_frmKindOfSubject);
            jclsTabView.setSelectedComponent(m_frmKindOfSubject);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniKindOfSubjectActionPerformed
    private frmAcademicYear m_frmAcademicYear;
    private void jxmniAcademicYearActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jxmniAcademicYearActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmAcademicYear);
        if (index < 0) {
            m_frmAcademicYear = new frmAcademicYear();
            jclsTabView.addTab("Quản lý năm học", m_frmAcademicYear);
            jclsTabView.setSelectedComponent(m_frmAcademicYear);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jxmniAcademicYearActionPerformed

    private void jmniBackupDatabaseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniBackupDatabaseActionPerformed
        fpnBackup _fpnBackup = new fpnBackup();
        _fpnBackup.showDialog(frmMainMenu.this, "Sao lưu CSDL");
    }//GEN-LAST:event_jmniBackupDatabaseActionPerformed

    private frmSemester m_frmSemester;
    private void jmniSemesterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniSemesterActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmSemester);
        if (index < 0) {
            m_frmSemester = new frmSemester();
            jclsTabView.addTab("Quản lý học kỳ", m_frmSemester);
            jclsTabView.setSelectedComponent(m_frmSemester);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniSemesterActionPerformed

    //Báo cáo tình trạng đăng ký học phần
    rptCurrentRegistrationCourses m_rptCurrentRegistrationCourses;
    private void jmniCurrentCourseRegistrationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniCurrentCourseRegistrationActionPerformed
        int index = jclsTabView.indexOfComponent(m_rptCurrentRegistrationCourses);
        if (index < 0) {
            m_rptCurrentRegistrationCourses = new rptCurrentRegistrationCourses();
            jclsTabView.addTab("Tình trạng đăng ký môn học", m_rptCurrentRegistrationCourses);
            jclsTabView.setSelectedComponent(m_rptCurrentRegistrationCourses);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniCurrentCourseRegistrationActionPerformed


    private frmCoursesRegistration m_frmCourseRegistration;
    private void jmniCourseRegistrationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniCourseRegistrationActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmCourseRegistration);
        if (index < 0) {
            m_frmCourseRegistration = new frmCoursesRegistration();
            jclsTabView.addTab("Đăng ký môn học", m_frmCourseRegistration);
            jclsTabView.setSelectedComponent(m_frmCourseRegistration);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniCourseRegistrationActionPerformed

    private frmStaff m_frmStaff;
    private void jmniStaffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniStaffActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmStaff);
        if (index < 0) {
            m_frmStaff = new frmStaff();
            jclsTabView.addTab("Quản lý nhân viên", m_frmStaff);
            jclsTabView.setSelectedComponent(m_frmStaff);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniStaffActionPerformed
    private frmInfoStaff m_frmInfoStaff;
    private void jmniInfoStaffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniInfoStaffActionPerformed
       int index = jclsTabView.indexOfComponent(m_frmInfoStaff);
        if (index < 0) {
            m_frmInfoStaff = new frmInfoStaff();
            jclsTabView.addTab("Thông tin nhân viên", m_frmInfoStaff);
            jclsTabView.setSelectedComponent(m_frmInfoStaff);
        } else {
            jclsTabView.setSelectedIndex(index);
        } 
    }//GEN-LAST:event_jmniInfoStaffActionPerformed
    private frmPositionAndAuthorization m_frmPositionAndAuthorization;
    private void jmniPositionAndMastershipActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniPositionAndMastershipActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmPositionAndAuthorization);
        if (index < 0) {
            m_frmPositionAndAuthorization = new frmPositionAndAuthorization();
            jclsTabView.addTab("Quản lý chức vụ & Phân quyền", m_frmPositionAndAuthorization);
            jclsTabView.setSelectedComponent(m_frmPositionAndAuthorization);
        } else {
            jclsTabView.setSelectedIndex(index);
        } 
    }//GEN-LAST:event_jmniPositionAndMastershipActionPerformed
    private frmStatus m_frmStatus;
    private void jmniStatusActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniStatusActionPerformed
       int index = jclsTabView.indexOfComponent(m_frmStatus);
        if (index < 0) {
            m_frmStatus = new frmStatus();
            jclsTabView.addTab("Quản lý trạng thái sinh viên", m_frmStatus);
            jclsTabView.setSelectedComponent(m_frmStatus);
        } else {
            jclsTabView.setSelectedIndex(index);
        } 
    }//GEN-LAST:event_jmniStatusActionPerformed

    private frmInfoSemesterYear m_frmInfoSemesterYear;
    private void jmniInfoSemesterYearActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniInfoSemesterYearActionPerformed
       int index = jclsTabView.indexOfComponent(m_frmInfoSemesterYear);
        if (index < 0) {
            m_frmInfoSemesterYear = new frmInfoSemesterYear();
            jclsTabView.addTab("Quản lý thông tin học kỳ - năm học", m_frmInfoSemesterYear);
            jclsTabView.setSelectedComponent(m_frmInfoSemesterYear);
        } else {
            jclsTabView.setSelectedIndex(index);
        } 
    }//GEN-LAST:event_jmniInfoSemesterYearActionPerformed

    private frmOrderSemester m_frmOrderSemester;
    private void jmniOrderSemesterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniOrderSemesterActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmOrderSemester);
        if (index < 0) {
            m_frmOrderSemester = new frmOrderSemester();
            jclsTabView.addTab("Quản lý học kỳ thuộc chương trình đào tạo", m_frmOrderSemester);
            jclsTabView.setSelectedComponent(m_frmOrderSemester);
        } else {
            jclsTabView.setSelectedIndex(index);
        } 
    }//GEN-LAST:event_jmniOrderSemesterActionPerformed
    private frmRegulation m_frmRegulation;
    private void jmniRegulationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniRegulationActionPerformed
                                         
        int index = jclsTabView.indexOfComponent(m_frmRegulation);
        if (index < 0) {
            m_frmRegulation = new frmRegulation();
            jclsTabView.addTab("Quy định", m_frmRegulation);
            jclsTabView.setSelectedComponent(m_frmRegulation);
        } else {
            jclsTabView.setSelectedIndex(index);
        }    
    }//GEN-LAST:event_jmniRegulationActionPerformed
  
        //Báo cáo tình trạng đăng ký môn học
    private rptCurrentRegistrationSubject m_rptCurrentRegistrationSubject;
    private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem3ActionPerformed
        int index = jclsTabView.indexOfComponent(m_rptCurrentRegistrationSubject);
        if (index < 0) {
            m_rptCurrentRegistrationSubject = new rptCurrentRegistrationSubject();
            jclsTabView.addTab("Tình trạng đăng ký môn học", m_rptCurrentRegistrationSubject);
            jclsTabView.setSelectedComponent(m_rptCurrentRegistrationSubject);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jMenuItem3ActionPerformed

    private rptCurrentTuitionFee m_rptCurrentTuitionFee;
    private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem4ActionPerformed
        int index = jclsTabView.indexOfComponent(m_rptCurrentTuitionFee);
        if (index < 0) {
            m_rptCurrentTuitionFee = new rptCurrentTuitionFee();
            jclsTabView.addTab("Tình trạng đóng học phí", m_rptCurrentTuitionFee);
            jclsTabView.setSelectedComponent(m_rptCurrentTuitionFee);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jMenuItem4ActionPerformed

    private frmStudentInfoSearch m_frmStudentInfoSearch;
    private void jmniStudentInfoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmniStudentInfoActionPerformed
        int index = jclsTabView.indexOfComponent(m_frmStudentInfoSearch);
        if (index < 0) {
            m_frmStudentInfoSearch = new frmStudentInfoSearch();
            jclsTabView.addTab("Tìm kiếm", m_frmStudentInfoSearch);
            jclsTabView.setSelectedComponent(m_frmStudentInfoSearch);
        } else {
            jclsTabView.setSelectedIndex(index);
        }
    }//GEN-LAST:event_jmniStudentInfoActionPerformed

    
    JXButton btn;

    private void addButton(JInternalFrame _frame) {
        btn = new JXButton(_frame.getTitle());
        btn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmniConectionDatabaseActionPerformed(evt);
            }
        });
    }

    private void createTreeView() {
//        // JTree Variables - Put this near the end line of your code 
//        DefaultMutableTreeNode rootnode;
//        DefaultTreeModel treeModel;
//        DefaultMutableTreeNode ntemp1;
//        DefaultMutableTreeNode ntemp2;
//        DefaultMutableTreeNode ntemp3;
//        DefaultMutableTreeNode ntemp4;
//        DefaultMutableTreeNode ntemp5;
//        // JTree Customization node 
//        rootnode = new DefaultMutableTreeNode("Chức năng");
//
//        treeModel = new DefaultTreeModel(rootnode);
//       / jxtreenavibar.setModel(treeModel);
//
//        // Sub Folder of Grocery 
//        ntemp1 = new DefaultMutableTreeNode("Hệ thống");
//        rootnode.add(ntemp1);
//
//        ntemp2 = new DefaultMutableTreeNode("Quản lý");
//        rootnode.add(ntemp2);
//
//        ntemp3 = new DefaultMutableTreeNode("Lập phiếu");
//        rootnode.add(ntemp3);
//
//        ntemp4 = new DefaultMutableTreeNode("Tìm kiếm");
//        rootnode.add(ntemp4);
//
//        ntemp5 = new DefaultMutableTreeNode("Báo cáo & Thống kê");
//        rootnode.add(ntemp5);
//        // Sub Folder for  
//        ntemp1.add(new DefaultMutableTreeNode("Quản lý sinh viên"));
//        // Sub Folder for 
//
//        // Icon 
//        Icon subIcon = new ImageIcon(getClass().getResource("/Data/Picture(16x16)/add.png"));
//        Icon closedIcon = new ImageIcon(getClass().getResource("/Data/Picture(16x16)/exit.png"));
//        Icon openIcon = new ImageIcon(getClass().getResource("/Data/Picture(16x16)/start.png"));
//
//        // Icon Render 
//        DefaultTreeCellRenderer renderer;
//        if (jxtreenavibar.getCellRenderer() instanceof DefaultTreeCellRenderer) {
//            renderer = (DefaultTreeCellRenderer) jxtreenavibar.getCellRenderer();
//            renderer.setLeafIcon(subIcon);
//            renderer.setClosedIcon(closedIcon);
//            renderer.setOpenIcon(openIcon);
//        }
//        jxtreenavibar.setCellRenderer(new DefaultTreeCellRenderer() {
//            public Component getTreeCellRendererComponent(final JTree tree, Object value,
//                    boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {
//
//                JLabel label = (JLabel) super.getTreeCellRendererComponent(tree, value,
//                        sel, expanded, leaf, row, hasFocus);
//                if (((DefaultMutableTreeNode) value).isRoot()) {
//                    label.setIcon(new ImageIcon(getClass().getResource("/Data/Picture(16x16)/add.png")));
//                } else if (((DefaultMutableTreeNode) value).isLeaf()) {
//                    label.setIcon(new ImageIcon(getClass().getResource("/Data/Picture(16x16)/minus.png")));
//                }
//                return label;
//            }
//        });
//        expandAll(jxtreenavibar, new TreePath(rootnode), true);
    }

    private void expandAll(JTree tree, TreePath parent, boolean expand) {

        TreeNode node = (TreeNode) parent.getLastPathComponent();

        if (node.getChildCount() >= 0) {

            for (@SuppressWarnings("unchecked") Enumeration<TreeNode> e = node.children(); e.hasMoreElements();) {

                TreeNode treeNode = (TreeNode) e.nextElement();
                TreePath path = parent.pathByAddingChild(treeNode);
                expandAll(tree, path, expand);
            }
        }
        if (expand) {
            tree.expandPath(parent);
        } else {
            tree.collapsePath(parent);
        }
    }
    
    private Timer m_time;
    private String showTime = "";
    private int i = 0;
    private Date thoiGian;
    private SimpleDateFormat dinhDangThoiGian;
    private void Clock(){
        //Khai bao dinh dang ngay thang
        dinhDangThoiGian = new SimpleDateFormat("HH:mm:ss");
        m_time = new Timer(800, new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent ae) {
                thoiGian = new Date();
                showTime = dinhDangThoiGian.format(thoiGian.getTime());
                jmnBar.repaint();
            }
        });
        m_time.start();
    }

    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(frmMainMenu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new frmMainMenu().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JMenuItem jMenuItem5;
    private mnstudent.global.ClosableTabbedPane jclsTabView;
    private javax.swing.JMenu jmnAccess;
    private javax.swing.JMenu jmnBackground;
    private javax.swing.JMenuBar jmnBar;
    private javax.swing.JMenu jmnCreateVotes;
    private javax.swing.JMenu jmnDatabase;
    private javax.swing.JMenu jmnOption;
    private javax.swing.JMenu jmnReport;
    private javax.swing.JMenu jmnSearch;
    private javax.swing.JMenu jmnStaffManager;
    private javax.swing.JMenu jmnStudentManager;
    private javax.swing.JMenu jmnStudyManager;
    private javax.swing.JMenu jmnSystemManger;
    private javax.swing.JMenuItem jmniBackupDatabase;
    private javax.swing.JMenuItem jmniConectionDatabase;
    private javax.swing.JMenuItem jmniCourseRegistration;
    private javax.swing.JMenuItem jmniCurrentCourseRegistration;
    private javax.swing.JMenuItem jmniFaculty;
    private javax.swing.JMenuItem jmniInfoSemesterYear;
    private javax.swing.JMenuItem jmniInfoStaff;
    private javax.swing.JMenuItem jmniKindOfSubject;
    private javax.swing.JMenuItem jmniLogin;
    private javax.swing.JMenuItem jmniLogout;
    private javax.swing.JMenuItem jmniMajor;
    private javax.swing.JMenuItem jmniNumbusLK;
    private javax.swing.JMenuItem jmniOrderSemester;
    private javax.swing.JMenuItem jmniPositionAndMastership;
    private javax.swing.JMenuItem jmniPriorityObject;
    private javax.swing.JMenuItem jmniRegulation;
    private javax.swing.JMenuItem jmniRestoreDatabase;
    private javax.swing.JMenuItem jmniSeaglassLK;
    private javax.swing.JMenuItem jmniSemester;
    private javax.swing.JMenuItem jmniStaff;
    private javax.swing.JMenuItem jmniStatus;
    private javax.swing.JMenuItem jmniStudent;
    private javax.swing.JMenuItem jmniStudentInfo;
    private javax.swing.JMenuItem jmniSubject;
    private javax.swing.JPanel jpanstatusbar;
    private javax.swing.JPopupMenu.Separator jspeLine;
    private javax.swing.JMenuItem jxmniAcademicYear;
    private javax.swing.JLabel lblStatus;
    // End of variables declaration//GEN-END:variables

}
